package com.manage.mapper;

import com.manage.controller.request.MaterialNumRequest;
import com.manage.pojo.entity.RepairMaterial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author chenximeng
* @description 针对表【repair_material】的数据库操作Mapper
* @createDate 2022-01-03 16:45:04
* @Entity com.manage.pojo.entity.RepairMaterial
*/
public interface RepairMaterialMapper extends BaseMapper<RepairMaterial> {

    void addNum(MaterialNumRequest request);

    void decresr(@Param("id") Long materialId, @Param("num") Integer num);
}




